package com.sm.auth.controller;

import com.sm.auth.dto.LoginDto;
import com.sm.common.response.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("auth")
@Slf4j
public class AuthController {

    @PostMapping("sys")
    public Result login(@RequestBody LoginDto loginDto){
        log.info("username:{},password:{}", loginDto.getUsername(), loginDto.getPassword());
        return Result.success();
    }
}
